<%--User: CDHong Date: 2018/11/17--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>">
    <title>客户开发主计划</title>
    <link rel="stylesheet" href="/static/commons/layui/css/layui.css" />
    <link rel="stylesheet" href="/static/css/public.css" />
</head>
<body class="childrenBody" bgcolor="#F2F2F2">
<div class="layui-card"  >
    <div class="layui-card-header">销售机会详情
        <div class="layui-input-inline" style="float: right" >
        <table >
            <tr>
                <td><a class="layui-btn layui-btn-radius help" >帮助</a></td>
                <td><a class="layui-btn layui-btn-normal layui-btn-radius do_plan" id="do_plan">执行计划</a></td>
                <td><a class="layui-btn layui-btn-normal layui-btn-radius make_plan" id="make_plan" style="display: none">制定计划</a></td>
                <td><a class="layui-btn layui-btn-warm layui-btn-radius do_sucess" id="do_sucess" style="display: none">开发成功</a></td>
                <td><a class="layui-btn layui-btn-danger layui-btn-radius do_delete" id="do_delete" style="display: none">终止开发</a></td>
                <td> <a class="layui-btn layui-btn-warm layui-btn-radius return_a1" id="return_a1">返回</a></td>
            </tr>
        </table>
    </div></div>
    <div class="layui-card-body">
<form action="" method="" id="form1" >
    <table id="tab1" >
        <tr>
            <td>
                <div class="layui-form-item">
                <label class="layui-form-label layui-bg-blue layui-center">销售id</label>
                <div class="layui-input-block">
                <input type="text" id="id" name="id" readonly  class="layui-input id">
                </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-bg-blue">机会来源：</label>
                    <div class="layui-input-block">
                        <input type="text" name="opportunitySource" readonly  class="layui-input opportunitySource">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
            <div class="layui-form-item">
                <label class="layui-form-label layui-bg-blue">客户名称：</label>
                <div class="layui-input-block">
                    <input type="text" id="sname"  name="sname" readonly  class="layui-input sname">
                </div>
            </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-bg-blue">成功机率：</label>
                    <div class="layui-input-block">
                        <input type="text" name="successProbability" readonly  class="layui-input successProbability">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div class="layui-form-item">
                    <label class="layui-form-label layui-bg-blue">概要：</label>
                    <div class="layui-input-block">
                        <input type="text" name="outline" readonly  class="layui-input outline">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
            <div class="layui-form-item">
                <label class="layui-form-label layui-bg-blue">联系人：</label>
                <div class="layui-input-block">
                    <input type="text" id="contacts" name="contacts" readonly  class="layui-input contacts">
                </div>
            </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-bg-blue">联系电话：</label>
                    <div class="layui-input-block">
                        <input type="text"id="contactsTel" name="contactsTel" readonly  class="layui-input contactsTel">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div class="layui-form-item">
                    <label class="layui-form-label layui-bg-blue">机会描述：</label>
                    <div class="layui-input-block">
                        <input type="text" name="opportunityDesc" readonly  class="layui-input opportunityDesc">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-bg-blue">指派人：</label>
                    <div class="layui-input-block">
                        <input type="text" name="assignName" readonly  class="layui-input assignName">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-bg-blue">指派时间：</label>
                    <div class="layui-input-block">
                        <input type="text" name="pointTime" readonly  class="layui-input pointTime">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-bg-blue">创建人：</label>
                    <div class="layui-input-block">
                        <input type="text" name="foundName"   readonly class="layui-input foundName">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-bg-blue">创建时间：</label>
                    <div class="layui-input-block">
                        <input type="text" name="" readonly  class="layui-input creationTime">
                    </div>
                </div>
            </td>
        </tr>
    </table>
</form>
    </div>
</div>
<div style="display: block" id="div1">
<table id="planList" lay-filter="planList" ></table>
</div >
<div style="display: none" id="div2">
<table id="resultList" lay-filter="resultList" style="display: block"></table>
</div>
    <form class="layui-form" id="save_form" method="post" style="display: block">
        <table id="savePlan">
            <td>
                <td><label class="layui-form-label layui-bg-blue layui-centerlayui-bg-blue" style="width: 120px">执行日期： *</label></td>
                <td><input type="text" id="creationTime" name="creationTime" id="creationTime" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                </td>
                <td><label class="layui-form-label layui-bg-blue layui-centerlayui-bg-blue" style="width: 120px">计划内容： *</label></td>
                <td><input type="text" id="planItem" name="planItem" required lay-verify="required" placeholder="请输入计划内容"  autocomplete="off" class="layui-input">
                </td>
                <td><a class="layui-btn  saveplan" >保存</a></td>
            </tr>
        </table>
    </form>
<script type="text/html" id="resultTool">
<a class="layui-btn layui-btn-warm layui-btn-xs layui-btn-radius" lay-event="result_btn">保存</a>
</script>
<script type="text/html" id="planTool">
    <a class="layui-btn layui-btn-warm layui-btn-xs layui-btn-radius" lay-event="edit_btn">保存</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs layui-btn-radius" lay-event="del_btn">删除</a>
</script>
<script type="text/javascript" src="/static/commons/layui/layui.js" ></script>
<script type="text/javascript" src="/static/js/drawPlan/addPlan.js" ></script>
</body>
</html>
